package mobi.zeedev.flyingsaucer.common.CredentialsModule.modules;

import com.google.inject.AbstractModule;
import com.google.inject.name.Names;
import mobi.zeedev.flyingsaucer.common.CredentialsModule.impl.Credentials;
import mobi.zeedev.flyingsaucer.common.CredentialsModule.interfaces.ICredentials;

/**
 * User: James
 * Date: 1/3/11
 * Time: 9:05 PM
 */
public class CredentialsModule extends AbstractModule {

    @Override
    protected void configure() {

//        bind(Credentials.class).asEagerSingleton();
        bind(ICredentials.class).annotatedWith(Names.named("defaultCredentials")).to(Credentials.class);

//        bind(ICredentials.class).annotatedWith(Names.named("")).to(PropertyCredentials.class);



    }




}

